<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%
	String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查询条件</title>
<script type="text/javascript">
function search(){
	var th = document.form1;
	th.action="<%=path%>/ShowFilesServlet";
	th.submit();
	}
</script>
</head>
<body>
<form name="form1" action="" method="post">
<input type="hidden" name="action" value="query">
		请输入查询条件：
		<table border="2">
			<tr>
				<td>文件名：</td>
				<td><input name="fileName" type="text"></td>
			</tr>
			<tr>
				<td>文件类型：</td>
				<td><input name="fileType" type="text"></td>
			</tr>
			<tr>
				<td>文件大小：</td>
				<td><input name="sizeFrom" type="text">B - <input
					name="sizeTo" type="text">B</td>
			</tr>
		</table>
		<button type="button" onclick="search()">查询</button></br>
		*默认查询所有文件
		</br>
		${msg}
	</form>
</body>
</html>